import 'package:dailoz/generated/json/base/json_field.dart';
import 'package:dailoz/generated/json/task_total_time_entity.g.dart';
import 'dart:convert';

@JsonSerializable()
class TaskTotalTimeEntity {
	late String time;
	late double total;

	TaskTotalTimeEntity();

	factory TaskTotalTimeEntity.fromJson(Map<String, dynamic> json) => $TaskTotalTimeEntityFromJson(json);

	Map<String, dynamic> toJson() => $TaskTotalTimeEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}